package com.hujesse.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.IEnum;

/**
 * 枚举的第二种实现方案,
 */
public enum StatusEnums2 implements IEnum<Integer> {
    REGISTER(1,"已经登记"),
    HANDIN(2,"已经上交");


    private Integer code;
    private String msh;

    StatusEnums2(Integer code, String msh) {
        this.code = code;
        this.msh = msh;


    }

    @Override
    public Integer getValue() {
        return this.code;
    }
}
